package com.elangzhi.ssm.model;

import com.elangzhi.ssm.model.base.BaseModel;

public class Image extends BaseModel {

    private Long id;

    /**
     * 0,首页banner图片
     * 1, 店铺图片
     * 2，商品图片
     * 3，需求图片
     * 4，说说图片
     */
    private Integer type;

    private String intro;

    private String url;

    private Long info;

    public Image(Long id, Integer type, String intro, String url, Long info) {
        this.id = id;
        this.type = type;
        this.intro = intro;
        this.url = url;
        this.info = info;
    }

    public Image() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getInfo() {
        return info;
    }

    public void setInfo(Long info) {
        this.info = info;
    }
}